package cn.bonoon.core.plugins;

import java.util.Calendar;
import java.util.List;

import cn.bonoon.entities.calendars.HolidayPersonalEntity;
import cn.bonoon.kernel.support.IOperator;
import cn.bonoon.kernel.support.services.GenericService;

public interface PersonalHolidayService extends GenericService<HolidayPersonalEntity> {

	List<HolidayPersonalEntity> getYear(IOperator opt, int year);

	List<HolidayPersonalEntity> getMonth(IOperator opt, int year, int month);

	List<HolidayPersonalEntity> getWeek(IOperator opt, Calendar c_start, Calendar c_end);

	List<HolidayPersonalEntity> getDate(IOperator opt, int year, int month, int date);

	boolean hasPersonalHoliday(IOperator opt, int year, int month, int date);

	void delete(IOperator opt, Long[] ids);

	final static int Y = 10000;
	final static int M = 100;
}
